#import "dfhgwhruebvhrheymunicipalautomobile.h"
@interface dfhgwhruebvhrheymunicipalautomobile ()
@property (weak, nonatomic) IBOutlet UIView *bgView;
@end
@implementation dfhgwhruebvhrheymunicipalautomobile {
	void(^_callback)(void);
	CAGradientLayer *gradientLayer;
}
- (void)awakeFromNib {
	[super awakeFromNib];
	gradientLayer = [CAGradientLayer layer];
	gradientLayer.startPoint = CGPointMake(0, 0);
	gradientLayer.endPoint = CGPointMake(0, 1);
	gradientLayer.colors = @[(__bridge  id)@"#EFECFF".dhgfywegwygeydwlearneddesignate.CGColor, (__bridge  id)[UIColor whiteColor].CGColor];
	gradientLayer.locations = @[@(0.3), @(1.0)];
	[self.bgView.layer insertSublayer:gradientLayer atIndex:0];
	self.bgView.layer.cornerRadius = 10;
	self.bgView.layer.masksToBounds = YES;
}
- (void)btnClick:(void(^)(void))callback {
	_callback = callback;
}
- (IBAction)confirmAction {
	if (_callback) {
		_callback();
	}
}
- (void)layoutSubviews {
	[super layoutSubviews];
	gradientLayer.frame = self.bgView.bounds;
}
@end
